<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';

$route['default_controller'] = "manage/index/index";
$route['manage/login'] = "manage/user/login";
$route['manage/logout'] = "manage/user/logout";


$route['manage/gameshow'] = "manage/program/selectgameshow";
$route['manage/operation'] = "manage/program/operation";

$route['manage/program'] = "manage/program/index";
$route['manage/program/trang-(:num)'] = "manage/program/index";
$route['manage/program/add-program'] = "manage/program/addprogram";
$route['manage/program/edit/(:num)'] = "manage/program/editprogram";
$route['manage/program/detail/(:num)'] = "manage/program/detailprogram";
$route['manage/program/delete'] = "manage/program/deleteprogram";

$route['manage/question/add-question/(:num)'] = "manage/program/addquestion";
$route['manage/question/edit/(:num)'] = "manage/program/editquestion";
$route['manage/question/delete'] = "manage/program/deletequestion";

$route['manage/trade'] = "manage/trade/index";
$route['manage/trade/trang-(:num)'] = "manage/trade/index";
$route['manage/trade/search'] = "manage/trade/searchajax";

$route['manage/renew'] = "manage/program/creatnewSession";
$route['manage/update-status'] = "manage/program/updateStatus";
$route['manage/check-answer'] = "manage/program/checkanswer";
$route['manage/stop-game'] = "manage/program/stopgame";


/**
 * @void offline
 */
 
$route['manage/offline-question'] = "manage/offline/index";
$route['manage/offline-question/trang-(:num)'] = "manage/offline/index";
$route['manage/offline-question/add-question'] = "manage/offline/addquestion";
$route['manage/offline-question/edit/(:num)'] = "manage/offline/editquestion";
$route['manage/offline-question/delete'] = "manage/offline/deletequestion";


